<!DOCTYPE html>
<html>

<head>
    <title>{$category.name} - {$category.seo_title} {$site_info.site_seo_title|default=''}</title>
    <meta name="keywords" content="{$category.seo_keywords},{$site_info.site_seo_keywords|default=''}" />
    <meta name="description" content="{$category.seo_description},{$site_info.site_seo_description|default=''}">
    <include file="public@head" />
    <hook name="before_head_end" />
</head>

<body class="body-white">
    <include file="public@head_nav" menuli="{$category.list_order}" />
    <div class="m_container">
        <div class="row">
            <div class="col-md-3">
                <div class="left_box">
                    <include file="public@left_menu" />
                </div>
            </div>
            <div class="col-md-9">
                <div class="right_box">
                    <div class="list_header">
                        <ol class="breadcrumb">
                            <li class="blue_bot"><a href="#">你现在的所在位置</a></li>
                            <li>
                                <a href="__ROOT__/">首页</a>
                            </li>
                            <portal:breadcrumb cid="$category.id" self="true">
                                <li>
                                    <a href="{:url('portal/List/index',['id'=>$vo['id']])}">{$vo.name}</a>
                                </li>
                            </portal:breadcrumb>
                        </ol>
                    </div>
                    <div class="items_all">
                        <php>
                            $where=[ 'post.create_time'=>['egt',0] ]; $page=[ 'list_rows'=>12, 'next'=>'下一页', 'prev'=>'上一页' ];
                        </php>
                        <portal:articles item="vo" where="$where" order="post.create_time DESC" page="$page" relation="categories" categoryIds="$category.id" returnVarName="articles_data">
                            <if condition="$category.id eq 9">
                                <div class="list-members">
                                    <a href="{:cmf_url('portal/Article/index',array('id'=>$vo.id,'cid'=>$vo.category_id))}">
                                        <present name="vo.more.thumbnail">
                                            <empty name="vo.more.thumbnail">
                                                <img src="__TMPL__/public/assets/images/default-thumbnail.png" alt="">
                                                <else/>
                                                <img src="{:cmf_get_image_url($vo.more.thumbnail)}" alt="">
                                            </empty>
                                            <else/>
                                            <img src="__TMPL__/public/assets/images/default-thumbnail.png" alt="">
                                        </present>
                                    </a>
                                </div>
                                <else />
                                <div class="list-boxes">
                                    <span class="title_sp">{$vo.post_title}</span>
                                    <present name="vo.more.thumbnail">
                                        <notempty name="vo.more.thumbnail">
                                            <div class="list-imgboxes">
                                                <img src="{:cmf_get_image_url($vo.more.thumbnail)}" class="img-responsive" alt="">
                                            </div>
                                        </notempty>
                                    </present>
                                    <div class="list_info">
                                        <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$category['id']))}">
                                            <span class="excerpt_sp">{$vo.post_excerpt}</span>
                                        </a>
                                        <div>
                                            <span class="more_sp"><a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$category['id']))}">更多内容</a></span>
                                            <span class="update_sp">{$vo.published_time|date='Y-m-d',###}</span>
                                            <span class="hits_sp">{$vo.post_hits}浏览</span>
                                        </div>
                                    </div>
                                </div>
                            </if>
                        </portal:articles>
                    </div>
                    <ul class="pagination">
                        <page/>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <include file="public@footer" />
</body>

</html>